<?php
/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: mapi_base_msg.php 338 2013-04-27 08:06:38Z laoguozhang $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

class stat_base_msg extends dzf_base_class
{

	const NO_ACTION = '-1';
	const OK = '0';
	const PARAMETERS_ERROR = '1';
	const DATA_NOT_FIND = '2';
	const MEMBER_ERROR = '3';
	const SIGN_ERROR = '4';
	const REPEAT_OPERATION = '5';
	const NO_NOTIFICATION = '6';
	const IPHONE_DEVICE_TOKEN_ERROR = '7';
	const DELAY_UPDATE_ERROR = '8';
	const JSON_FORMAT_ERROR = '9';
	const UPDATE_ERROR = '10';
	const SYSTEM_ERROR = '10000';


	static public $CODES = array(
		'-1' => 'No Action',
		'0' => 'OK',
		'1' => 'Parameters Error',
		'2' => 'Data Not Find',
		'3' => 'Member Error',
		'4' => 'Sign Error',
		'5' => 'Repeat Operation',
		'6' => 'No Notification',
		'7' => 'Iphone Device Token Error',
		'8' => 'Delay Update Error',
		'9' => 'Json Format Error',
		'10' => 'Update Error',
		'10000' => 'System Error',
	);
}
